<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>监督机构管理</title>
    <style type="text/css">
        td{
            height: 25px;
            width: 100px;
            border: #3a8ee6 1px solid;
        }
        input{
            height: 21px;
        }
    </style>
    <script type="text/javascript" src="../../js/jquery-1.11.0.min.js"></script>
    <script type="text/javascript" src="../../js/04/yeshu1.js"></script>
    <script type="text/javascript" src="../../js/04/sasdasd3.js"></script>
    <script type="text/javascript" src="../../js/04/supervisory.js"></script>
    <script type="text/javascript" src="../../js/04/supervisoryxiaoyan.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script type="text/javascript">
        $(function () {
            serch_bean();
            gets();
        })
    </script>
</head>
<body>
<h1 align="center">监督机构管理</h1>
<form id="asdasd">
    <div>
        <table class="" style="border: 1px solid #999;border-collapse:collapse">

            <tr>
                <td>监督机构名称：</td>
                <td><input id="sbName" name="sbName" type="text" value=""></td>
                <td></td>
                <td>联系人：</td>
                <td><input id="sbContacts" name="sbContacts"  type="text" value=""></td>
                <td></td>
            </tr>
            <tr>
                <td>email：</td>
                <td><input id="sbEmail" name="sbEmail"  type="text" value="" onblur="ccc()"></td>
                <td></td>
            </tr>

            </tr>
        </table>
        <td>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <button class="soso"><a href="javascript:void(0)" onclick="serch_bean1()">查询</a></button>
        </td>
        <br>
    </div>
</form>
<iframe id="iframe" name="rfFrame" src="about:blank" style="display:none;"></iframe>
<div>
    <table>
        <tr>
            <td>监督机构id</td>
            <td>监督名称名称</td>
            <td>地址</td>
            <td>监督机构电话</td>
            <td>联系人</td>
            <td>监督机构传真</td>
            <td>email</td>
            <td>网址</td>
            <td>操作</td>
        </tr>
        <tbody id="checkOne">
        </tbody>
    </table>
</div>
<div class="im-page" id="impage">
    <tr>
        <td><button id='first'>首页</button></td>
        <td><button id='before'>上一页</button></td>
        <td>第<span id="pnum"></span>页</td>
        <td>共<span id="ptotal"></span>页</td>
        <td><button  id='next'>下一页</button></td>
        <td><button id='last'>尾页</button></td>
    </tr>
</div>
<!-- 模态框（Modal） -->
<!--添加检查机构-->
<form id="search_form" >
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        添加检查机构
                    </h4>
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构名称</label>
                    <input type="text" class="form-control" name="sbName" id="name2" onblur="name6()"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构地址</label>
                    <input type="text" class="form-control" name="sbAdress"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构电话</label>
                    <input type="text" class="form-control" name="sbPhone" onblur="aaaa()" id="aaa"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检察机构联系人</label>
                    <input type="text" class="form-control" name="sbContacts"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构传真</label>
                    <input type="text" class="form-control" name="sbFax"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label>&nbsp&nbsp&nbsp检查机构email</label>
                    <input type="text" class="form-control" name="sbEmail" id="email1" onblur="bbbb()"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构网址</label>
                    <input type="text" class="form-control" name="sbUrl"
                           placeholder="请输入">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">
                        关闭
                    </button>
                    <button type="button" class="btn btn-primary" onclick="lasupervisorybody()">
                        提交更改
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div>
</form><!-- /.modal -->
<script>
    $(function () { $('#myModal').modal('hide')});
</script>
<script>
    $(function () { $('#myModal').on('hide.bs.modal', function () {
        ;})
    });
</script>



<!-- 修改检察机构-->
<form id="xiugai">
    <div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    </button>
                    <h4 class="modal-title" id="myModalLabe2">
                        修改检察机构
                    </h4>
                </div>
                <div class="form-group">
                    <input type="hidden" name="sbId" id="sbId" >
                    <label >&nbsp&nbsp&检查机构名称</label>
                    <input type="text" class="form-control" name="sbName" id="name" onblur="name5()"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构地址</label>
                    <input type="text" class="form-control" name="sbAdress" id="address"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构电话</label>
                    <input type="text" class="form-control" name="sbPhone" id="phone" onblur="vvvv()"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检察机构联系人</label>
                    <input type="text" class="form-control" name="sbContacts" id="contacts"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构传真</label>
                    <input type="text" class="form-control" name="sbFax" id="fax"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构email</label>
                    <input type="text" class="form-control" name="sbEmail" id="email" onblur="mmmm()"
                           placeholder="请输入">
                </div>
                <div class="form-group">
                    <label >&nbsp&nbsp&nbsp检查机构网址</label>
                    <input type="text" class="form-control" name="sbUrl" id="url"
                           placeholder="请输入">
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">
                        关闭
                    </button>
                    <button type="button" class="btn btn-primary" onclick="xiugai2()">
                        修改
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
</form>
<script>
    $(function () { $('#myModal').modal('hide')});
</script>
<script>
    $(function () { $('#myModal').on('hide.bs.modal', function () {
    })
    });
</script>
</body>
</html>
